import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

//引入路由
import router from '@/router'
//引入ly-tab
import LyTab from 'ly-tab'
Vue.use(LyTab);
//引入mintui
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'
Vue.use(Mint);
//引入Vant
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);

//引入store
import store from './store'
new Vue({
  // 注入路由
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
}).$mount('#app')
